﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class MusicTeacher : Teacher, IAthlete
    {   
        public MusicTeacher(string name):base(name)
        {
            this.Name = name;
        }
        public void music()
        {
            Console.WriteLine("我{0}是个音乐老师", this.Name);
        }
        public void sport()
        {
            Console.WriteLine("我{0}是个运动员",this.Name);
        }
    }
}
